/*
 * @Date: 2022-03-26 09:18:43
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-04-21 19:23:09
 * @FilePath: \weibovue\src\components\listShow\type.ts
 * @Description: something
 */

import { atMeBlogItem, atMeReplyItem } from "../../store/types";

// 列表的每一项
export interface ListItem {
  avatar?: string;
  title?: string;
  desc?: string;
  time?: string;
  tag?: string;
  tagType?: "" | "success" | "info" | "warning" | "danger";
}

// 列表
export interface ListOptions {
  title: string;
  content: ListItem[];
}

// 操作选项
export interface ActionOptions {
  text: string;
  icon?: string;
}
export interface atType {
  title: string;
  content?: atMeReplyItem[] | atMeBlogItem[];
}
